package basics.condition;

/**
 * 
 * @author gexj
 *
 */
public class NestingIfElse {
	/**
	 * 
	 * @param args
	 */
	public static void main(String args[]) {
		int x = 30;
		int y = 10;
		int x1 = 10 + 20;
		int y1 = 5 + 5;

		if (x == x1) {
			if (y == y1) {
				System.out.print("X = 30 and Y = 10");
			}
		}
	}
}
